const mongoose = require('mongoose')

mongoose
     .connect('mongodb://eight:8PzBsnRzMMHs2hcC@47.93.249.122:27017/project')
     .then(() => console.log('MongoDB connected'))
     .catch(err => console.log(err))


module.exports = mongoose